<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>document2html: src/libs/fileext/epub/epub.hpp Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">document2html
   &#160;<span id="projectnumber">1.0</span>
   </div>
   <div id="projectbrief">Documents to HTML converter</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('epub_8hpp_source.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">epub.hpp</div>  </div>
</div><!--header-->
<div class="contents">
<a href="epub_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;</div><div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="preprocessor">#pragma once</span></div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;</div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="preprocessor">#include &lt;string&gt;</span></div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="preprocessor">#include &lt;vector&gt;</span></div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;</div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="preprocessor">#include &quot;../../pugixml/pugixml.hpp&quot;</span></div><div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="preprocessor">#include &quot;../fileext.hpp&quot;</span></div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="preprocessor">#include &quot;../ooxml/ooxml.hpp&quot;</span></div><div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;</div><div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;</div><div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceepub.html">epub</a> {</div><div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;</div><div class="line"><a name="l00031"></a><span class="lineno"><a class="line" href="classepub_1_1_epub.html">   31</a></span>&#160;<span class="keyword">class </span><a class="code" href="classepub_1_1_epub.html">Epub</a>: <span class="keyword">public</span> <a class="code" href="classfileext_1_1_file_extension.html">fileext::FileExtension</a>, <span class="keyword">public</span> <a class="code" href="classooxml_1_1_ooxml.html">ooxml::Ooxml</a> {</div><div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;    <a class="code" href="classepub_1_1_epub.html#afc6476a158e1568b861bccf84870a928">Epub</a>(<span class="keyword">const</span> std::string&amp; fileName);</div><div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;</div><div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;    <span class="keyword">virtual</span> <a class="code" href="classepub_1_1_epub.html#a34c0f884fee9b560e123c61cb781e865">~Epub</a>() = <span class="keywordflow">default</span>;</div><div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;</div><div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classepub_1_1_epub.html#a48262047e9f66876c8b5f789a3b38850">convert</a>(<span class="keywordtype">bool</span> addStyle = <span class="keyword">true</span>, <span class="keywordtype">bool</span> extractImages = <span class="keyword">false</span>, <span class="keywordtype">char</span> mergingMode = 0) <span class="keyword">override</span>;</div><div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;</div><div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;<span class="keyword">private</span>:</div><div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classepub_1_1_epub.html#a53f21a58e22ddeb29a72b3cfdd54434a">updateLinks</a>();</div><div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;</div><div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classepub_1_1_epub.html#acc787528a12a2035be564e3be3b24404">updateImages</a>();</div><div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;</div><div class="line"><a name="l00072"></a><span class="lineno"><a class="line" href="classepub_1_1_epub.html#aaf6500893a71a4ce4a43180383a9219d">   72</a></span>&#160;    std::unordered_map&lt;std::string, std::string&gt; <a class="code" href="classepub_1_1_epub.html#aaf6500893a71a4ce4a43180383a9219d">m_fileList</a>;</div><div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;};</div><div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;</div><div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;}  <span class="comment">// End namespace</span></div><div class="ttc" id="classepub_1_1_epub_html_acc787528a12a2035be564e3be3b24404"><div class="ttname"><a href="classepub_1_1_epub.html#acc787528a12a2035be564e3be3b24404">epub::Epub::updateImages</a></div><div class="ttdeci">void updateImages()</div><div class="ttdoc">Update links to images. </div><div class="ttdef"><b>Definition:</b> epub.cpp:82</div></div>
<div class="ttc" id="classooxml_1_1_ooxml_html"><div class="ttname"><a href="classooxml_1_1_ooxml.html">ooxml::Ooxml</a></div><div class="ttdoc">Wrapper for Office Open XML (OOXML) </div><div class="ttdef"><b>Definition:</b> ooxml.hpp:29</div></div>
<div class="ttc" id="classepub_1_1_epub_html_a48262047e9f66876c8b5f789a3b38850"><div class="ttname"><a href="classepub_1_1_epub.html#a48262047e9f66876c8b5f789a3b38850">epub::Epub::convert</a></div><div class="ttdeci">void convert(bool addStyle=true, bool extractImages=false, char mergingMode=0) override</div><div class="ttdoc">Convert file to HTML-tree. </div><div class="ttdef"><b>Definition:</b> epub.cpp:24</div></div>
<div class="ttc" id="classepub_1_1_epub_html_a34c0f884fee9b560e123c61cb781e865"><div class="ttname"><a href="classepub_1_1_epub.html#a34c0f884fee9b560e123c61cb781e865">epub::Epub::~Epub</a></div><div class="ttdeci">virtual ~Epub()=default</div></div>
<div class="ttc" id="classepub_1_1_epub_html_a53f21a58e22ddeb29a72b3cfdd54434a"><div class="ttname"><a href="classepub_1_1_epub.html#a53f21a58e22ddeb29a72b3cfdd54434a">epub::Epub::updateLinks</a></div><div class="ttdeci">void updateLinks()</div><div class="ttdoc">Update links to files. </div><div class="ttdef"><b>Definition:</b> epub.cpp:68</div></div>
<div class="ttc" id="classfileext_1_1_file_extension_html"><div class="ttname"><a href="classfileext_1_1_file_extension.html">fileext::FileExtension</a></div><div class="ttdoc">Base class for file extensions converters. </div><div class="ttdef"><b>Definition:</b> fileext.hpp:32</div></div>
<div class="ttc" id="classepub_1_1_epub_html_afc6476a158e1568b861bccf84870a928"><div class="ttname"><a href="classepub_1_1_epub.html#afc6476a158e1568b861bccf84870a928">epub::Epub::Epub</a></div><div class="ttdeci">Epub(const std::string &amp;fileName)</div><div class="ttdef"><b>Definition:</b> epub.cpp:21</div></div>
<div class="ttc" id="classepub_1_1_epub_html"><div class="ttname"><a href="classepub_1_1_epub.html">epub::Epub</a></div><div class="ttdoc">EPUB files into HTML сonverter. </div><div class="ttdef"><b>Definition:</b> epub.hpp:31</div></div>
<div class="ttc" id="namespaceepub_html"><div class="ttname"><a href="namespaceepub.html">epub</a></div><div class="ttdoc">EPUB files into HTML сonverter. </div></div>
<div class="ttc" id="classepub_1_1_epub_html_aaf6500893a71a4ce4a43180383a9219d"><div class="ttname"><a href="classepub_1_1_epub.html#aaf6500893a71a4ce4a43180383a9219d">epub::Epub::m_fileList</a></div><div class="ttdeci">std::unordered_map&lt; std::string, std::string &gt; m_fileList</div><div class="ttdef"><b>Definition:</b> epub.hpp:72</div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_87a455bccb09a92130c26a11a880c98a.html">libs</a></li><li class="navelem"><a class="el" href="dir_ffbcd8de0e3a98e11beaf3347bc22514.html">fileext</a></li><li class="navelem"><a class="el" href="dir_43c16b9d04ffe60c177cdfb8ada4ee28.html">epub</a></li><li class="navelem"><a class="el" href="epub_8hpp.html">epub.hpp</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
  </ul>
</div>
</body>
</html>
